
#include "unittype.h"

UnitTypeFactory& UnitTypeFactory::getInstance()
{
    static UnitTypeFactory instance;
    return instance;
}

UnitTypeFactory::UnitTypeFactory()
{
    m_types[GROUND].name = "Ground";
    m_types[AQUATIC].name = "Aquatic";
    m_types[AMPHIBIAN].name = "Amphibian";
    m_types[AERIAL].name = "Aerial";
    m_types[MOUNTED].name = "Mounted";
    m_types[PLANT].name = "Plant";
    m_types[IMMATERIAL].name = "Immaterial";
}
